Hệ thống bổ nhiệm bác sĩ trong PHP bằng mã nguồn

1 <?php include('header.php'); ?> <br>
2
3
4
5
6
7     <!--
this is for donor registraton -->
8     <div
class="donor_reg" style="background-color: #7faf81;"> <br>
9         
10         <form method=
"post" enctype="multipart/form-data"> <br>
11        <table cellpadding=
"20" cellspacing="20" width="1000px" height="" style="margin:auto;background-color:#f9f9f9;color:#151314;" >
12
13              <tr><td colspan=
"9" align="center"><h1 class="text-center"><u>Who has requested for Blood</u></h1></td></tr>
14              
15
16             <tr style=
"background-color:bisque" align="center" class="bold">
17                 <th align=
"center">Name</th>
18                 <td align=
"center">Gender</td>
19                 <th align=
"center">Age</th>
20                 <td align=
"center">Mobile</td>
21                 <th align=
"center">BloodGroup</th>
22                 <td align=
"center">Email</td>
23                 <th align=
"center">Till Required Date</th>
24                 <td align=
"center">Details</td>
25             </tr>
26                        
27
28     <?php
29
30     $cn=mysqli_connect(
"localhost","root","","projectmms");
31         $s=
"select * from requestes";
32             $result=mysqli_query($cn,$s);
33             $r=mysqli_num_rows($result);
34             
//echo $r;
35             
while($data=mysqli_fetch_array($result)){
36
37                         echo
"<tr>
38                                 
39                                 <td>$data[
1]</td>
40                                 <td>$data[
2]</td>
41                                 <td>$data[
3]</td>
42                                 <td>$data[
4]</td>
43                                 <td>$data[
5]</td>
44                                 <td>$data[
6]</td>
45                                 <td>$data[
7]</td>
46                                 <td>$data[
8]</td>
47                             </tr>"
;
48                     }
49                     mysqli_close($cn);
50     ?>
51
52
53         </table> <br>
54     </form>
55     </div>
56     
57     
58
59     
60  <?php include(
'footer.php'); ?>
61
62
63     
64     </div><!-- containerFluid Ends -->
65
66
67
68
69     <script src=
"js/bootstrap.min.js"></script>
70
71
72      
73 </body>
74 </html>


Gõ tìm kiếm nhanh...